import {markRaw} from 'vue';

const files = import.meta.globEager('./*.vue')

const resultComps = {}

Object.keys(files).forEach(fileName => {
    let comp = files[fileName]
    resultComps[fileName.replace(/^\.\/(.*)\.\w+$/, '$1')] = comp.default
})

export default markRaw(resultComps)
